package com.supermap.dubbo.api.agrinfo.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author:langhongshuai
 * @Description:农情信息类
 * @Date:18/1/29 下午2:43
 */
@SuppressWarnings("serial")
public class Agrinfo implements Serializable {

    /**
     * 农情id
     */
    private int id;

    /**
     * 用户id
     */
    private String userId;
    private String showName;

    /**
     * 农田id
     */
    private String farm;

    /**
     * 图片上传时间
     */
    private Date uploadTime;

    /**
     * 种养品种，关联t_CropsType
     */
    private String type;

    /**
     * 种养类型，关联t_CropsType
     */
    private String breed;

    /**
     * 作物生育期,关联t_AgrWeaQuota
     */
    private String growthperiod;

    /**
     * 拍照所在地经度
     */
    private String longitude;

    /**
     * 拍照所在地纬度
     */
    private String latitude;

    /**
     * 区划编码
     */
    private String areacode;

    /**
     * 农情描述
     */
    private String descript;

    /**
     * 删除标识（0:未删除 1:删除）
     */
    private String del_flg;

    /**
     * 删除用户id
     */
    private int del_user;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * Picture Location
     */
    private String imgUrl;

    /**
     * 用户名
     */
    private String username;

    /**
     * 作物图标
     */
    private String cropImgIcon;

    /**
     * 农情评论列表
     */
    private List<AgrinfoComment> agrinfoComments;

    /**
     * 作物名
     */
    private String cropname;

    /**
     * 区域名
     *
     * @return
     */
    private String areaname;
    /**
     * 是否点赞 1 已点赞 0未点赞
     */
    private Integer isPraise;

    /**
     * 发育期
     */
    private String development;

    /**
     * 灾情总数
     **/
    private int disaterCount;
    /**
     * 农情总数
     **/
    private int agrinfoCount;
    /**
     * 咨询总数
     **/
    private int advisoryInfoCount;

    /***
     * 用户统计
     * **/
    private int userCount;

    /**
     * 农田统计
     **/
    private int farmnameCount;

    /**
     * 角色名称
     * **/
    private String rolename;

    /***
     * 角色编码
     * ***/
    private String rolecode;

    /***
     * 开始时间
     * **/
    private String startTime;
    /***
     * 结束时间
     * **/
    private String endTime;


    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFarm() {
        return farm;
    }

    public void setFarm(String farm) {
        this.farm = farm;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBreed() {
        return breed;
    }

    public void setBreed(String breed) {
        this.breed = breed;
    }

    public String getGrowthperiod() {
        return growthperiod;
    }

    public void setGrowthperiod(String growthperiod) {
        this.growthperiod = growthperiod;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getAreacode() {
        return areacode;
    }

    public void setAreacode(String areacode) {
        this.areacode = areacode;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public String getDel_flg() {
        return del_flg;
    }

    public void setDel_flg(String del_flg) {
        this.del_flg = del_flg;
    }

    public int getDel_user() {
        return del_user;
    }

    public void setDel_user(int del_user) {
        this.del_user = del_user;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public List<AgrinfoComment> getAgrinfoComments() {
        return agrinfoComments;
    }

    public void setAgrinfoComments(List<AgrinfoComment> agrinfoComments) {
        this.agrinfoComments = agrinfoComments;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCropname() {
        return cropname;
    }

    public void setCropname(String cropname) {
        this.cropname = cropname;
    }

    public String getCropImgIcon() {
        return cropImgIcon;
    }

    public void setCropImgIcon(String cropImgIcon) {
        this.cropImgIcon = cropImgIcon;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public Integer getIsPraise() {
        return isPraise;
    }

    public void setIsPraise(Integer isPraise) {
        this.isPraise = isPraise;
    }

    public String getDevelopment() {
        return development;
    }

    public void setDevelopment(String development) {
        this.development = development;
    }

    public int getDisaterCount() {
        return disaterCount;
    }

    public void setDisaterCount(int disaterCount) {
        this.disaterCount = disaterCount;
    }

    public int getAgrinfoCount() {
        return agrinfoCount;
    }

    public void setAgrinfoCount(int agrinfoCount) {
        this.agrinfoCount = agrinfoCount;
    }

    public int getAdvisoryInfoCount() {
        return advisoryInfoCount;
    }

    public void setAdvisoryInfoCount(int advisoryInfoCount) {
        this.advisoryInfoCount = advisoryInfoCount;
    }

    public int getUserCount() {
        return userCount;
    }

    public void setUserCount(int userCount) {
        this.userCount = userCount;
    }

    public int getFarmnameCount() {
        return farmnameCount;
    }

    public void setFarmnameCount(int farmnameCount) {
        this.farmnameCount = farmnameCount;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public String getRolecode() {
        return rolecode;
    }

    public void setRolecode(String rolecode) {
        this.rolecode = rolecode;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
